var webpack = require('webpack');
var path = require('path');
module.exports = {
    entry: {
        index: './src/index.js',
        init: './src/init.js',
        recycle: './src/recycle.js'
    },
    output: {
        path: './public/script',
        filename: '[name].js'
    },
    module: {
        loaders: [
            {
                loader: 'babel',
                test: /\.jsx?$/,
                exclude: /node_modules/,
                query: {
                    presets: ['react', 'es2015', 'stage-0']
                }
            }
        ]
    }
}